<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>
        icook网
    </title>
    
     <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    
<link rel="stylesheet" href="/recipe/Public/assets_h/stylesheets/bootstrap.min.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/recipe/Public/assets_h/stylesheets/font-awesome.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/recipe/Public/assets_h/stylesheets/se7en-font.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/recipe/Public/assets_h/stylesheets/style.css" media="all" rel="stylesheet" type="text/css" />

<script src="/recipe/Public/assets_h/javascripts/jquery.min.js" type="text/javascript"></script>
<script src="/recipe/Public/assets_h/javascripts/jquery-ui.js" type="text/javascript"></script>
<script src="/recipe/Public/assets_h/javascripts/bootstrap.min.js" type="text/javascript"></script>
<script src="/recipe/Public/assets_h/javascripts/modernizr.custom.js" type="text/javascript"></script>
<script src="/recipe/Public/assets_h/javascripts/main.js" type="text/javascript"></script>
</head>
<body class="login2">
<div class="login-wrapper">
    <br/>
    <br/> 
    <h2>icook管理平台</h2>
    <form method="post" action="<?php echo U('Index/checkLogin');?>">
        <div class="form-group">
            <div class="input-group">
                <span class="input-group-addon"><i class="icon-user"></i></span><input class="form-control" name="username" id="username" placeholder="用户名" type="text">
            </div>
        </div>
        <div class="form-group">
            <div class="input-group">
                <span class="input-group-addon"><i class="icon-lock"></i></span><input class="form-control" name="password" id="password" placeholder="密码" type="password">
            </div>
        </div>
        

<div>
<input class="form-control" placeholder="验证码" type="text"    required  name="verify">
<img id="verifyImg" src="<?php echo U('index/verify');?>" onClick="fleshVerify()"
     title="点击刷新验证码" style="cursor:pointer;border:0px" >
</div>

        <input class="btn btn-lg btn-primary btn-block" type="submit" value="登 录">

    </form>
    
</div>
<!-- End Login Screen -->

</body>

<!-- JS -->

<script language="JavaScript">
function fleshVerify(){
document.getElementById("verifyImg").src="<?php echo U('verify');?>";
}
</script>

<!-- end JS -->

</html>